package com.blog.wl2023.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Id;
import jakarta.persistence.MappedSuperclass;
import lombok.Data;

/**
 * @author wule
 * @desc 功能属性类:查询时不会查询出来公共类,但是通过getter方法可以获取,直接返回到前端也可以接收到
 */

@MappedSuperclass
@Data
public class BaseEntity {

	@Id
	@Column(name = "uuid")
	private String uuid;
	@Column(name = "key_one")
	private String keyOne;
	@Column(name = "key_two")
	private String keyTwo;
	@Column(name = "key_three")
	private String keyThree;
}
